home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C++ / Snippets / GNU String⁄Regex / README < prev    next >
Encoding:
Text File  |  1996-01-03  |  1.3 KB  |  36 lines  |  [TEXT/CWIE]

  1. 07Jul95
  2.  
  3. Howdy.
  4.  
  5. I have taken the string and regular expression classes from the GNU C++ lbg++2.3.1
  6. and brutally hacked them so they compile under CW6. I turned off iostream because
  7. I don't need it and didn't want to figure it out -- and I made a bunch of "class-less"
  8. inlines into regular functions because CW was complaining about "invalid inlines"
  9. and I didn't want to figure that out either -- since I don't need the cat() functions
  10. to be very efficient.
  11.  
  12. To use these add the source files
  13. String.cc            
  14. Regex.cc
  15. regexlc.cc
  16. alloca.c
  17. error.cc
  18. ...to your project. Compile the whole mess in C++. I am using Apple C++ model.
  19.  
  20. (Our version of 'error.cc' throws an exception with some home-grown macro stuff
  21. -- not included -- you should modify it to perform the correct error handling
  22. in your situation -- the original called abort() where I am making a FAIL() call.) 
  23.  
  24. Changes I made are commented with a july date and my 'ww' initials. I also changed
  25. some file names to eliminate the upper/lowercase naming conflict on the mac -- these
  26. files now end in 'lc' which means 'lower case.'
  27.  
  28. Hope my work saves you an hour or two, and should you wind up making it better send
  29. me some email so I can get my grubby little hands on your changes.
  30.  
  31. Cheers --
  32.  
  33. Ward Willats
  34. ward@wardco.com
  35. ward@cyno.com
  36.